package com.supermap.dubbo.api.agrinfo.entity;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

/**
 * @author lxs
 * @Title:农情 点赞 评论返回前端的信息的实体类
 * @Description:
 * @date 2018/8/22  16:08
 */
@SuppressWarnings("serial")
public class AgrAllInfo implements Serializable {
    /**
     * 农情主键
     */
    private Integer id;
    /**
     * 农情描述
     */
    private String descript;
    /**
     * 发布农情 人名称
     */
    private String publisherName;
    /**
     * 发布农情的人地址
     */
    private String publisherAddress;
    /**
     * 发布人的头像
     */
    private String publisherHeadImage;
    /**
     * 农情的图片
     */
    private String publisherAgrImg;
    /**
     * 发布灾情时间
     */
    private Date publisherTime;
    /**
     * 该灾情的评论集合
     */
    private List<AgrinfoComment> agrComments=new ArrayList<>();
    /**
     *该农情是否点过赞 0未点赞 1已点赞
     */
    private Integer isPraise;
    /**
     *该农情点赞总数
     */
    private int praiseNums;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getDescript() {
        return descript;
    }

    public void setDescript(String descript) {
        this.descript = descript;
    }

    public String getPublisherName() {
        return publisherName;
    }

    public void setPublisherName(String publisherName) {
        this.publisherName = publisherName;
    }

    public String getPublisherAddress() {
        return publisherAddress;
    }

    public void setPublisherAddress(String publisherAddress) {
        this.publisherAddress = publisherAddress;
    }

    public String getPublisherHeadImage() {
        return publisherHeadImage;
    }

    public void setPublisherHeadImage(String publisherHeadImage) {
        this.publisherHeadImage = publisherHeadImage;
    }

    public String getPublisherAgrImg() {
        return publisherAgrImg;
    }

    public void setPublisherAgrImg(String publisherAgrImg) {
        this.publisherAgrImg = publisherAgrImg;
    }

    public Date getPublisherTime() {
        return publisherTime;
    }

    public void setPublisherTime(Date publisherTime) {
        this.publisherTime = publisherTime;
    }

    public List<AgrinfoComment> getAgrComments() {
        return agrComments;
    }

    public void setAgrComments(List<AgrinfoComment> agrComments) {
        this.agrComments = agrComments;
    }

    public Integer getIsPraise() {
        return isPraise;
    }

    public void setIsPraise(Integer isPraise) {
        this.isPraise = isPraise;
    }

    public int getPraiseNums() {
        return praiseNums;
    }

    public void setPraiseNums(int praiseNums) {
        this.praiseNums = praiseNums;
    }
}
